#!/bin/bash
REDIS_CLUSTER_ROOT=/data/redis-cluster

pid=`ps -ef | grep $REDIS_CLUSTER_ROOT | grep -v grep | awk '{print $2}'`
if [ -n "$pid" ]
then
kill -9 $pid
fi
